Skip to content

feat(google): add shared Drive folder filtering - #388

Merged
prvnsmpth merged 4 commits into
masterfrom
feat/google-drive-path-filter
Jul 29, 2026
Merged

feat(google): add shared Drive folder filtering#388
prvnsmpth merged 4 commits into
masterfrom
feat/google-drive-path-filter

Conversation

@prvnsmpth

Copy link
Copy Markdown
Contributor
  • Let admins restrict domain-wide delegated Drive sources to selected shared drives or top-level folders before the initial sync.
  • Add credential-backed folder discovery for both unsaved setup credentials and stored source credentials, with strict validation and request limits.
  • Enforce selected folder scope during full and incremental syncs using cached ancestry checks while preserving index-all behavior when no filters are selected.
  • Keep OAuth sources unchanged and explain that folder-level filtering currently requires domain-wide delegation.
  • Add focused coverage for filter parsing, ancestry matching, preview security, and setup behavior.

@prvnsmpth
prvnsmpth force-pushed the feat/google-drive-path-filter branch from 1cdb3dd to f62aed4 Compare July 28, 2026 15:51
- discover shared drives and top-level folders using stored or transient DWD credentials
- persist folder selections in Drive settings and apply cached ancestry filtering during sync
- secure preview actions with strict validation, request limits, and focused tests
- Move pre-source actions under /api/connectors/[sourceType]/action.
- Derive source type from the route while retaining strict action and credential validation.
- Update Google Drive folder discovery and focused endpoint tests.
- Render Drive folder suggestions in a portal so dialogs do not clip them.
- Restore source creation by using the submitted config instead of an undefined variable.
- Remove the unused environment import and preserve authenticated-user narrowing.
@prvnsmpth
prvnsmpth force-pushed the feat/google-drive-path-filter branch from 6bf3c6e to cae3912 Compare July 29, 2026 08:18
@prvnsmpth
prvnsmpth merged commit 4416935 into master Jul 29, 2026
38 checks passed
@prvnsmpth
prvnsmpth deleted the feat/google-drive-path-filter branch July 29, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant